package cn.com.coding.app;

import cn.com.coding.common.utils.RedisUtil;
import cn.com.coding.system.service.ProductImageService;
import cn.com.coding.system.service.SchoolNewsService;
import cn.com.coding.system.service.SysMenuService;
import cn.com.coding.system.service.SysRoleMenuService;
import cn.com.coding.system.service.SysRoleService;
import cn.com.coding.system.service.SysUserRoleService;
import cn.com.coding.system.service.SysUserService;
import cn.com.coding.system.service.UserCardProductService;
import cn.com.coding.system.service.UserCardService;
import cn.com.coding.system.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;

/**
 * @author mxz
 */
public class BaseController {

    @Autowired
    HttpServletRequest req;

    @Autowired
    RedisUtil redisUtil;

    @Autowired
    SysUserService sysUserService;

    @Autowired
    SysRoleService sysRoleService;

    @Autowired
    SysMenuService sysMenuService;

    @Autowired
    SysUserRoleService sysUserRoleService;

    @Autowired
    SysRoleMenuService sysRoleMenuService;

    // 用户管理

    @Autowired
    UserInfoService userInfoService;


    @Autowired
    ProductImageService productImageService;

    @Autowired
    UserCardProductService userCardProductService;

    @Autowired
    UserCardService userCardService;

    @Autowired
    SchoolNewsService schoolNewsService;
}
